package com.chang.gulimall_auth.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: changzhenxi
 * @date: 2024年11月27日 09:32
 * @Version: 1.0
 * @description:
 */
@FeignClient("third")
public interface ThirdFeignServer {

    @PostMapping("sms/sendCode")
    Boolean sendEmail(@RequestParam("email") String email, @RequestParam("code") String code);
}
